package com.junqi.live.room.application.convert;

import com.junqi.live.room.application.dto.LiveRoomDto;
import com.junqi.live.room.domain.bo.LiveRoomBo;
import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;

@Mapper
public interface LiveRoomDtoConvert {

    LiveRoomDtoConvert INSTANCE = Mappers.getMapper(LiveRoomDtoConvert.class);

    LiveRoomBo convertDtOToBo(LiveRoomDto liveRoomDto);

    LiveRoomDto convertBoToDtO(LiveRoomBo liveRoomBo);

}
